import Main from '@/views/Main'


export default [{
        path: '/login',
        name: 'login',
        component: () =>
            import ('../views/Login/Login.vue')
    },
    {
        path: '/',
        name: '_home',
        redirect: '/home',
        component: Main,
        children: [{
            path: '/home',
            name: 'home',
            component: () =>
                import ('../views/Home'),
        }, ]
    },
    {
        path: '*',
        component: () =>
            import ('../views/Page404.vue')
    },
];